package com.ant.product.service.impl;

import com.ant.product.dao.StudentDao;
import com.ant.product.entity.Student;
import com.ant.product.service.StudentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class StudentServiceImpl extends ServiceImpl<StudentDao, Student> implements StudentService {

    @Autowired
    private StudentDao studentDao;

    @Override
    public List<Student> getAllStudent(Map<String, Object> param) {
        return studentDao.getAllStudent(param);
    }
}
